package com.neuedu.his.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.his.po.Medicalrecord;

import java.util.List;

/**
 * @author root
 * @description 针对表【medicalrecord】的数据库操作Service
 * @createDate 2025-06-25 10:55:54
 */
public interface MedicalrecordService extends IService<Medicalrecord> {
    Medicalrecord getById(Integer id);
    Medicalrecord getByCaseNumber(String caseNumber);
    List<Medicalrecord> getAll();
    int insert(Medicalrecord medicalRecord);    // 新增
    int update(Medicalrecord medicalRecord);  // 更新
    int deleteById(Integer id);                // 删除
}
